package net.csdra.libraryborrowing.domain.category;

import net.csdra.libraryborrowing.domain.EntityBase;

import javax.persistence.Entity;

/**
 * Created by msf on 2017/9/29.
 * 图书类别
 * 区分上下级。 metaId为本类别的上级
 * 约定metaId值为Root时是根级
 */
@Entity
public class Category extends EntityBase {
    String name;
    //分类简介
    String info;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
